<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of index
 * http://www.test.test/work/robot/index.php
 * @author Implement <hdjahs@qq.com>
 */

define('BASE_PATH', __DIR__);
include BASE_PATH . '/System/Loader.php';
spl_autoload_register("\System\Loader::Controller");          

                                          
$obj = new Robot();
$obj->setStrategy(new Baidu());
//$obj->setStrategy(new Qidian());
$obj->setStrategy(new Zongheng());
$obj->run();  
